﻿using System;
using System.Runtime.Serialization;

namespace AcountingService.MessageBase 
{
    /// <summary>
    /// 
    /// </summary>
    [Flags]
    public enum OptionType
    {
        /// <summary>
        /// 
        /// </summary>
        [EnumMember]
        IsActive = 1,
        /// <summary>
        /// 
        /// </summary>
        [EnumMember]
        NonActive = 2,
        /// <summary>
        /// 
        /// </summary>
        [EnumMember]
        IsPaging = 4,
        /// <summary>
        /// The is detail
        /// </summary>
        [EnumMember]
        IsDetail = 8,
        /// <summary>
        /// 
        /// </summary>
        [EnumMember]
        IsType = 16,
        /// <summary>
        /// 
        /// </summary>
        [EnumMember]
        NonPaging = 32,
        /// <summary>
        /// 
        /// </summary>
        [EnumMember]
        IsUnit = 64,
        /// <summary>
        /// 
        /// </summary>
        [EnumMember]
        NonUnit = 128,
        /// <summary>
        /// The non detail
        /// </summary>
        [EnumMember]
        NonDetail = 256,
        /// <summary>
        /// check id has child or has not child
        /// </summary>
        [EnumMember]
        CheckHasChild,
    }
}
